import { http } from "@/api/http/request";
import { API_URLS } from "../constants/api-url";
/**
 * 刷新token
 * @param token
 */
export const refreshToken = (token: any) => {
  console.log("刷新token接口", token);
  return http.post(API_URLS.REFRESH_TOKEN, token, {
    skipAuth: true,
  });
};
